(function (G) {
    G.vue({
        data: {
            types:[],
            taskCounts:{}
        },
        methods: {
            
        },
        mounted() {
            G.get('/model/f_flow').then(res => {
                let types = res.type.attr.actions
                types.push({name:'其他',value:'',image:'other'})
                this.setData({
                    types,
                    taskCounts:G.Storage.get('taskCounts')
                })
            })
        }
    })
})(wx.$)